package com.hiwan.unions.application.request;


import com.hiwan.unions.application.MyApplication;

public class ConstsNet {
    public static final String LILINTONG_URLWEB;
    public static final String LILINTONG_URL;
    public static final String LILINTONG_UUB;

    /**
     * 正式时使用新浪sae托管; 测试使用本地, 节省SAE的消费.
     */
    static {
        if (MyApplication.DEBUG) {
            //主机地址—测试环境
            LILINTONG_URLWEB = "http://scgh.lilisou.com/";
//            LILINTONG_URL = "http://192.168.1.136:8080/scgh-app-main/";
//            LILINTONG_URL = "http://192.168.11.40:8090/scgh-app-main/";
            LILINTONG_URL = "http://scgh.lilisou.com/app/";
            LILINTONG_UUB = "http://www.5ialways.cn/";
        } else {
            LILINTONG_URLWEB = "http://scgh.uutianfu.com/";
            LILINTONG_URL = "http://scgh.uutianfu.com/app/";
            LILINTONG_UUB = "http://www.uutianfu.com/";
        }
    }

    //注册登录拼接
    public static final String MOSAIC_APPLICATION = LILINTONG_URL + "application/";
    //账户修改
    public static final String MOSAIC_CUSTOMER = LILINTONG_URL + "customer/";
    //我的消息
    public static final String MOSAIC_MESSAGE = LILINTONG_URL + "customermsg/";
    //积分系统
    public static final String MOSAIC_POINTS = LILINTONG_URL + "points/";
    //文章
    public static final String MOSAIC_ARTICLE = LILINTONG_URL + "article/";
    //banner栏目
    public static final String MOSAIC_FOLD = LILINTONG_URL + "folderrollpicture/";
    //会籍
    public static final String MOSAIC_MEMBERAPPLY = LILINTONG_URL + "memberapply/";
    //活动
    public static final String MOSAIC_PRIZE = LILINTONG_URL + "prize/";
    //活动
    public static final String MOSAIC_APPVERSION = LILINTONG_URL + "appversion/";
    /**
     * 用户注册第一步
     */
    public static final String captcha = MOSAIC_APPLICATION + "captcha";
    /**
     * 用户注册第二步
     */
    public static final String registry = MOSAIC_APPLICATION + "registry";
    /**
     * 用户登录
     */
    public static final String login = MOSAIC_APPLICATION + "login";
    /**
     * 用户登录
     */
    public static final String loginout = MOSAIC_APPLICATION + "loginout";
    /**
     * 用户登录
     */
    public static final String home = MOSAIC_APPLICATION + "home";

    /**
     * 修改登录密码
     */
    public static final String updatePassword = MOSAIC_CUSTOMER + "updatePassword";
    /**
     * 获取重置密码的验证码
     */
    public static final String captcha_customer = MOSAIC_CUSTOMER + "captcha";
    /**
     * 重置登录密码
     */
    public static final String resetPassword = MOSAIC_CUSTOMER + "resetPassword";
    /**
     * 修改手机号发生验证码
     */
    public static final String updateMobileCaptcha = MOSAIC_CUSTOMER + "updateMobileCaptcha";
    /**
     * 修改手机号
     */
    public static final String updateMobileReset = MOSAIC_CUSTOMER + "updateMobileReset";
    /**
     * 消息列表
     */
    public static final String message_list = MOSAIC_MESSAGE + "msgList";
    /**
     * 用户签到
     */
    public static final String sign = MOSAIC_POINTS + "sign";
    /**
     * 通过栏目获取文章列表
     */
    public static final String article_list = MOSAIC_ARTICLE + "list";
    /**
     * 查看文章详情
     */
    public static final String detail = MOSAIC_ARTICLE + "detail";
    /**
     * 通过栏目获取banner
     */
    public static final String banner_list = MOSAIC_FOLD + "list";

    /**
     * 获取android版本信息
     */
    public static final String show_android = MOSAIC_APPVERSION + "show_android";

    /**
     * 关于我们
     */
    public static final String about = LILINTONG_URL + "about";
    /**
     * 验证会籍状态手机号
     */
    public static final String validaMebStaByMobile = MOSAIC_MEMBERAPPLY + "validaMebStaByMobile";
    /**
     * 验证会籍状态证件号
     */
    public static final String validaMemberStatus = MOSAIC_MEMBERAPPLY + "validaMemberStatus";
    /**
     * 提交入会申请
     */
    public static final String insertMember = MOSAIC_MEMBERAPPLY + "insertMember";
    /**
     * 查询会员会籍信息
     */
    public static final String getMemberInfo = MOSAIC_MEMBERAPPLY + "getMemberInfo";
    /**
     * 申请转会
     */
    public static final String updateTransfer = MOSAIC_MEMBERAPPLY + "updateTransfer";
    /**
     * 修改会籍信息
     */
    public static final String updateMember = MOSAIC_MEMBERAPPLY + "updateMember";


    /**
     * 获取地理信息
     */
    public static final String getAreaList = MOSAIC_MEMBERAPPLY + "getAreaList";


    /**
     * 通过栏目获取文章列表
     */
    public static final String article_myPrizeList = MOSAIC_PRIZE + "myPrizeList";
    /**
     * 活动
     */
    public static final String LuckDraw = LILINTONG_URLWEB + "pages/whitneyActivities.html";
    /**
     * 商家列表
     */
    public static final String nearby_list = LILINTONG_UUB + "shop/nearby_list.html";
    /**
     * 积分签到
     */
    public static final String QIANDAO = LILINTONG_URLWEB + "integral/sign.html";
}